﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FollowMe.Model
{
    public interface IMessageRepository
    {
        void Add(Message member);
        void Remove(Message member);
        void RemoveAll(IEnumerable<Message> messages);
        void Save(Message member);

        Message FindBy(Guid Id);
        IEnumerable<Message> FindISent(Guid Id);
        IEnumerable<Message> FindIReceived(Guid Id);

        IEnumerable<Message> FindAll();
        IEnumerable<Message> FindAll(int index, int count);
    }
}
